Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iFeature/promptbook #26

Open
wants to merge 13 commits into
base: feature/signoz
Choose a base branch
from
Open

Conversation

jmikedupont2
Copy link
Member

adding submodules for promptbook
will load them into process and start on plugin

mike dupont added 13 commits February 25, 2025 14:16
eliza-plugin-promptbook:build: > eliza-plugin-promptbook@0.1.0 build /mnt/data1/nix/time/2024/12/31/cloud-deployment-eliza/vendor/ptbk/eliza-plugin-promptbook
eliza-plugin-promptbook:build: > tsc && cp -R src/plugins dist/plugins
eliza-plugin-promptbook:build: src/plugins/promptbook/evaluator.ts:5:25 - error TS2307: Cannot find module 'promptbook' or its corresponding type declarations.
eliza-plugin-promptbook:build: 5 import { wizzard } from "promptbook";
Copy link

trag-bot bot commented Mar 22, 2025

@trag-bot didn't find any issues in the code! ✅✨

Copy link

trag-bot bot commented Mar 22, 2025

Pull request summary

  • Added multiple submodules for the ptbk vendor, enhancing the project's modularity and integration capabilities.
  • Updated the package.json to include new dependencies related to the ptbk plugins, ensuring they are available for the project.
  • Created a .gitignore and .npmignore file for the new plugin starter template to exclude unnecessary files from version control and npm packages.
  • Introduced a new README.md for the plugin starter template, providing essential information and usage instructions.
  • Developed a new package.json for the plugin starter template, defining its metadata, dependencies, and scripts for building and testing.
  • Implemented a new TypeScript service and plugin structure in src/index.ts, including a simple "Hello World" action and provider.
  • Configured TypeScript build settings in tsconfig.build.json and tsconfig.json for the plugin starter template, ensuring proper compilation.
  • Added a tsup.config.ts file to manage the build process for the plugin starter, specifying entry points and output configurations.
  • Created a test suite for the starter plugin, validating the character configuration, plugin initialization, and action responses.
  • Updated the main project files to reflect the new structure and dependencies, ensuring compatibility with the latest changes.

tsconfig: './tsconfig.build.json', // Use build-specific tsconfig
sourcemap: true,
clean: true,
format: ['esm'], // Ensure you're targeting CommonJS
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment indicates CommonJS targeting but the configuration is set to ESM format only. This inconsistency could lead to module compatibility issues in the project.

Copy link

trag-bot bot commented Mar 22, 2025

Pull request summary

  • Added multiple submodules for the ptbk vendor, enhancing the project's modularity by including new plugins and components.
  • Updated the package.json file to include new dependencies related to the ptbk plugins, ensuring that the project can utilize these new features.
  • Introduced a .gitignore file for the plugin-starter template to exclude build artifacts and environment files from version control.
  • Created a .npmignore file for the plugin-starter template to prevent unnecessary files from being published to npm.
  • Added a README.md file for the plugin-starter template, providing essential information about the plugin's purpose and usage.
  • Developed a new package.json for the plugin-starter template, defining its metadata, dependencies, and scripts for building and testing.
  • Implemented a TypeScript service in src/index.ts for the plugin-starter, including action and provider definitions, enhancing the plugin's functionality.
  • Configured TypeScript build settings in tsconfig.build.json and tsconfig.json for the plugin-starter, ensuring proper compilation and output structure.
  • Created a tsup.config.ts file for the plugin-starter, defining the build process and external dependencies to streamline the build workflow.
  • Established a test suite for the starter project, validating the character configuration, plugin initialization, and action handling to ensure reliability and correctness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant